package com.le.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.le.edu.domain.entity.Section;
import com.le.edu.domain.screen.MonthVO;
import com.le.edu.domain.vo.SectionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 17447
 * @description 针对表【t_section(课时表)】的数据库操作Mapper
 * @createDate 2024-04-10 10:35:09
 * @Entity com.le.edu.entity.Section
 */
public interface SectionMapper extends BaseMapper<Section> {

    List<SectionVO> selectSectionAndVideo(@Param("courseId") Long courseId);

    List<MonthVO> computeMonthCount();
}




